package wsz.rocketMq.util;

/**
 * @author wsz
 * @date 2022/3/2 11:15
 **/
public class Constants {

    /**
     * 秒杀key
     * 拓展：根据每一场的秒杀活动指定不同的key
     */
    public static String KILL_PHONE_KEY = "kill_phone_key";
    public static int KILL_PHONE_KNUMBER = 100;

    public static String PAY_NO = "0";
    public static String PAY_OK = "1";
    public static String PAY_TIMEOUT = "2";

    // 秒杀防刷限制
    public static String REFRESH_CTR = "order_kill_refresh";
    public static String REFRESH_CTR_TIME = "order_kill_refresh_time";
    public static int REFRESH_CTR_TIMES = 100;
}
